package com.qf.purchase.service;

import com.github.pagehelper.PageInfo;
import com.qf.purchase.po.Goods;

import java.util.List;
import java.util.Map;

public interface GoodsService {
    boolean addGoods(Goods goods);
    PageInfo<Goods> getAllGoodsByPage(Map params);
    boolean updateGoods(Goods goods);
    Goods findGoodsById(int id);
}
